package cn.ording.entity;

import java.util.HashSet;
import java.util.Set;


/**
 * Sort entity. @author MyEclipse Persistence Tools
 */

public class Sort  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Sort sort;
     private String name;
     private String description;
     private Set foods = new HashSet(0);
     private Set sorts = new HashSet(0);


    // Constructors

    /** default constructor */
    public Sort() {
    }

	/** minimal constructor */
    public Sort(String name, String description) {
        this.name = name;
        this.description = description;
    }
    
    /** full constructor */
    public Sort(Sort sort, String name, String description, Set foods, Set sorts) {
        this.sort = sort;
        this.name = name;
        this.description = description;
        this.foods = foods;
        this.sorts = sorts;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Sort getSort() {
        return this.sort;
    }
    
    public void setSort(Sort sort) {
        this.sort = sort;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public Set getFoods() {
        return this.foods;
    }
    
    public void setFoods(Set foods) {
        this.foods = foods;
    }

    public Set getSorts() {
        return this.sorts;
    }
    
    public void setSorts(Set sorts) {
        this.sorts = sorts;
    }
   








}